<!-- 报表 》 事务报表 -->

<template>
  <div class="marginBottom">
    <OurSearch hasType />

    <div v-if="param.type === DICT.TYPE[0][0]" class="MaintainReport-content">
      <RepairStatistic ref="statistic" />
      <RepairTable />
    </div>

    <div v-if="param.type === DICT.TYPE[1][0]" class="MaintainReport-content">
      <InspectionStatistic ref="statistic" />
      <InspectionTable />
    </div>

    <div v-if="param.type === DICT.TYPE[2][0]" class="MaintainReport-content">
      <MaintenanceStatistic ref="statistic" />
      <MaintenanceTable />
    </div>

    <div v-if="param.type === DICT.TYPE[3][0]" class="MaintainReport-content">
      <AlarmStatistic ref="statistic" />
      <AlarmTable />
    </div>

    <div v-if="param.type === DICT.TYPE[4][0]" class="MaintainReport-content">
      <!-- <AttendanceStatistic ref="statistic" /> -->
      <AttendanceTable />
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import ReportWork from '@admin/views/Maintain/Report/ReportWork'

// ============================== 导出组件 ============================== //

export default CORE.extend(ReportWork)
</script>
